package com.arturjaneczko.services.impl;

import com.arturjaneczko.model.impl.EClipboardDataType;

public class ClipboardDataTypeConverter {

	public static EIcon convertToIcon(EClipboardDataType clipboardDataType) {
		switch (clipboardDataType) {
		case FILES:
			return EIcon.FILES;
		case GRAPHICS:
			return EIcon.GRAPHICS;
		case NOT_SUPPORTED:
			return EIcon.NOT_SUPPORTED;
		case TEXT:
			return EIcon.TEXT;
		default:
			return EIcon.DEFAULT;
		}
	}

}
